package com.system.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.system.user.entity.PayEntity;
import com.system.user.entityVO.PayVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PayDao {

    int insertPay(PayEntity payEntity);

    int payment(Integer id);

    List<PayEntity> selectByUid(@Param("uid") Integer uid);

    List<PayEntity> selectByParam(PayEntity pay);

    List<PayVO> queryByParam(PayVO payVO);

}
